package com.googlecode.websword.rest.service.convert.simple;

import javax.servlet.http.HttpServletResponse;

import com.googlecode.websword.rest.exception.RestCallException;
import com.googlecode.websword.rest.service.convert.RestParamConvert;

public abstract class AbstractRestParamConvert implements RestParamConvert {
    
    public RestCallException onError(String msg){
        throw new RestCallException(HttpServletResponse.SC_BAD_REQUEST, msg);
    }
}
